package model;

import java.util.ArrayList;
import java.util.List;

/**
 * Created by Administrator on 2017/10/17.
 */
public class Info {

    public Info(String name,String url){
        name = name.replaceAll("街道","")
                .replaceAll("办事处","")
                .replaceAll("社区居委会","");
        this.name = name;
        this.url = url;
        this.list = new ArrayList<Info>();
    }

    private String name;

    private String url;

    private List<Info> list;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public List<Info> getList() {
        return list;
    }

    public void setList(List<Info> list) {
        this.list = list;
    }
}
